home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / security / xinetd / sio.1.5.6 / suite / Makefile < prev    next >
Encoding:
Makefile  |  1992-12-09  |  2.3 KB  |  87 lines

  1. # (c) Copyright 1992 by Panagiotis Tsirigotis
  2. # All rights reserved.  The file named COPYRIGHT specifies the terms 
  3. # and conditions for redistribution.
  4.  
  5. # $Id: Makefile,v 7.3 1992/06/28 23:26:54 panos Exp $
  6.  
  7. CC=cc -I..
  8. #
  9. # NOTE: When using the test scripts, CLFAGS is provided as an
  10. #          argument to make, the setting of it here has no effect.
  11. #
  12. CFLAGS=-g
  13. LIBOBJS=../libsio.a
  14. # The following LDFLAGS are the default flags.
  15. #LDFLAGS=-Bstatic -lm
  16.  
  17. DISTRIBUTION_FILES=copytest.c example.c print.c tietest.c buftest.c fdtest.c tester sprint_test testlib
  18.  
  19. ALL=Sread Swrite Sputchar Sgetchar Srdline \
  20.      Sgetc Sputc Sfetch Sflush Sundo switch \
  21.      Sprint buftest tietest switch2 example fdtest evtest
  22.  
  23. evtest: evtest.c $(LIBOBJS)
  24.     $(CC) $(CFLAGS) -o $@ evtest.c $(LIBOBJS) $(LDFLAGS)
  25.  
  26. fdtest: fdtest.c $(LIBOBJS)
  27.     $(CC) $(CFLAGS) -o $@ fdtest.c $(LIBOBJS) $(LDFLAGS)
  28.  
  29. buftest: buftest.c $(LIBOBJS)
  30.     $(CC) $(CFLAGS) -o $@ buftest.c $(LIBOBJS) $(LDFLAGS)
  31.  
  32. Sprint: print.c $(LIBOBJS)
  33.     $(CC) $(CFLAGS) -o $@ print.c $(LIBOBJS) $(LDFLAGS)
  34.  
  35. Sputchar: copytest.c $(LIBOBJS)
  36.     $(CC) $(CFLAGS) -o $@ copytest.c $(LIBOBJS) $(LDFLAGS)
  37.  
  38. Sgetchar: copytest.c $(LIBOBJS)
  39.     $(CC) $(CFLAGS) -o $@ copytest.c $(LIBOBJS) $(LDFLAGS)
  40.  
  41. Srdline: copytest.c $(LIBOBJS)
  42.     $(CC) $(CFLAGS) -o $@ copytest.c $(LIBOBJS)
  43.  
  44. Sread: copytest.c $(LIBOBJS)
  45.     $(CC) $(CFLAGS) -o $@ copytest.c $(LIBOBJS) $(LDFLAGS)
  46.  
  47. Swrite: copytest.c $(LIBOBJS)
  48.     $(CC) $(CFLAGS) -o $@ copytest.c $(LIBOBJS) $(LDFLAGS)
  49.  
  50. Sgetc: copytest.c $(LIBOBJS)
  51.     $(CC) $(CFLAGS) -o $@ copytest.c $(LIBOBJS) $(LDFLAGS)
  52.  
  53. Sputc: copytest.c $(LIBOBJS)
  54.     $(CC) $(CFLAGS) -o $@ copytest.c $(LIBOBJS) $(LDFLAGS)
  55.  
  56. Sfetch: copytest.c $(LIBOBJS)
  57.     $(CC) $(CFLAGS) -o $@ copytest.c $(LIBOBJS) $(LDFLAGS)
  58.  
  59. Sflush: copytest.c $(LIBOBJS)
  60.     $(CC) $(CFLAGS) -o $@ copytest.c $(LIBOBJS) $(LDFLAGS)
  61.  
  62. Sundo: copytest.c $(LIBOBJS)
  63.     $(CC) $(CFLAGS) -o $@ copytest.c $(LIBOBJS) $(LDFLAGS)
  64.  
  65. switch: copytest.c $(LIBOBJS)
  66.     $(CC) $(CFLAGS) -o $@ copytest.c $(LIBOBJS) $(LDFLAGS)
  67.  
  68. switch2: copytest.c $(LIBOBJS)
  69.     $(CC) $(CFLAGS) -o $@ copytest.c $(LIBOBJS) $(LDFLAGS)
  70.  
  71. tietest: tietest.c $(LIBOBJS)
  72.     $(CC) $(CFLAGS) -o $@ tietest.c $(LIBOBJS) $(LDFLAGS)
  73.  
  74. example: example.c $(LIBOBJS)
  75.     $(CC) $(CFLAGS) -o $@ example.c $(LIBOBJS) $(LDFLAGS)
  76.  
  77. clean:
  78.     rm -f $(ALL)
  79.  
  80. checkout: $(DISTRIBUTION_FILES)
  81.  
  82. $(DISTRIBUTION_FILES):
  83.     co $@
  84.  
  85. dist:
  86.     -co -q $(DISTRIBUTION_FILES)
  87.